/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sts;

import java.util.ArrayList;

/**
 *
 * @author gspfranc
 */
public class Ligne {
private int ligne;
private ArrayList<Voyage> listeVoyage = new ArrayList();
private String[] listeArret;

private String direction1;
private String direction2;

public void setListeArret(String[] liste){
    this.listeArret = liste;
}

public void AfficherListeArret(){
    for(int i =0; i < this.listeArret.length;i++){
        System.out.println("Arret #" + i + " : " + listeArret[i]);
    }
}



    public int getLigne() {
        return ligne;
    }

    public void setLigne(int ligne) {
        this.ligne = ligne;
    }

    public String getDirection1() {
        return direction1;
    }

    public void setDirection1(String direction1) {
        this.direction1 = direction1;
    }

    public String getDirection2() {
        return direction2;
    }

    public void setDirection2(String direction2) {
        this.direction2 = direction2;
    }




}
